/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package se.bth.ke.firstfriend.model.dto;

import java.util.List;
import se.bth.ke.firstfriend.model.Article;
import se.bth.ke.firstfriend.model.Topic;

/**
 *
 * @author nico.rehwaldt
 */
public class TopicInfo {
    
    private final Topic topic;
    private final long articleCount;
    private List<Article> articles;

    public TopicInfo(Topic topic, long articleCount) {
        this.topic = topic;
        this.articleCount = articleCount;
    }

    /**
     * @return the topic
     */
    public Topic getTopic() {
        return topic;
    }

    public void setArticles(List<Article> articles) {
        this.articles = articles;
    }
    
    /**
     * @return the articleCount
     */
    public long getArticleCount() {
        return articleCount;
    }

    /**
     * @return the recommendedArticles
     */
    public List<Article> getArticles() {
        return articles;
    }
}
